package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.dto.RoleDto;
import com.zzyl.entity.Role;
import com.zzyl.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
* @author 恭喜发财
* @description 针对表【sys_role(角色表)】的数据库操作Mapper
* @createDate 2024-05-17 11:36:33
* @Entity com.zzyl.entity1.Role
*/
@Mapper
public interface RoleMapper {

    Page<Role> slectPage(RoleDto roleDto);

    Boolean insertRole(Role role);

    Set<String> checkedResources(Long roleId);

    void deleteRoleById(List<String> list);

    void updateRole(Role role);


    Set<String> selectRoleById(Set<String> roleVoIds);

    List<Role> selectRoleAll();
}




